package com.bbcare.cp.plat.entity.cp;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * @name: cp_schemenode_info 实体类
 * @author: DemonLee
 * @createTime: 2018-04-18 19:54:15
 * @description: 临床路径节点配置表
 * @modify:
 *
 */

@Entity
public class CpSchemeNode implements Serializable {
    private static final long serialVersionUID = 1L;

    // 临床路径节点id
    private String id;
    // 临床路径节点名称
    private String nodeName;
    // 备注说明
    private String nodeIntro;
    // 节点序号，升序排列
    private Integer seqNo;
    // 阶段下节点序号，升序排列
    private Integer stageSeqNo;
    // 临床阶段id
    private String stageId;
    // 临床路径id
    private String schemeId;
    // 临床路径版本id
    private String schemeVersionId;
    // 节点计划触发类型，0：应用后触发（当天建档+第一次随访），1：纠正年龄触发，2：出生年龄触发，3：出院后触发，4：初检孕周日期触发，5：末次月经日期触发，6：应用后触发（当天建档），7：分娩日期触发
    private String planTriggerType;
    // 计划起始天数
    private Integer planStartDay;
    // 计划执行天数
    private Integer planExecuteDay;
    // 计划截止天数
    private Integer planEndDay;
    // 计划窗口天数
    private Integer planWindowDay;
    // 计划警戒天数
    private Integer planWarnDay;
    // 节点类型 ，01正常随访节点，02临时随访节点
    private String nodeType;
    // 下一个路径节点
    private String nextNodeId;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 操作流水
    private String updateAccept;
    // 创建者id
    private String createAuthor;
    // 更新者id
    private String updateAuthor;
    // 项目id
    private String projectId;
    // 租户id
    private String tenantId;
    // 记录有效标志，0无效，1有效
    private String status;
    // 角色拥有的权限，r只读，rw读写，前期可以默认rw，后期再限制（该表中无此字段，在关联表cp_nodeauth_info中）
    private String priorityValue;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeIntro(String nodeIntro) {
        this.nodeIntro = nodeIntro;
    }

    public String getNodeIntro() {
        return nodeIntro;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public Integer getStageSeqNo() {
        return stageSeqNo;
    }

    public void setStageSeqNo(Integer stageSeqNo) {
        this.stageSeqNo = stageSeqNo;
    }

    public void setStageId(String stageId) {
        this.stageId = stageId;
    }

    public String getStageId() {
        return stageId;
    }

    public void setSchemeId(String schemeId) {
        this.schemeId = schemeId;
    }

    public String getSchemeId() {
        return schemeId;
    }

    public void setSchemeVersionId(String schemeVersionId) {
        this.schemeVersionId = schemeVersionId;
    }

    public String getSchemeVersionId() {
        return schemeVersionId;
    }

    public void setPlanTriggerType(String planTriggerType) {
        this.planTriggerType = planTriggerType;
    }

    public String getPlanTriggerType() {
        return planTriggerType;
    }

    public void setPlanStartDay(Integer planStartDay) {
        this.planStartDay = planStartDay;
    }

    public Integer getPlanStartDay() {
        return planStartDay;
    }

    public void setPlanExecuteDay(Integer planExecuteDay) {
        this.planExecuteDay = planExecuteDay;
    }

    public Integer getPlanExecuteDay() {
        return planExecuteDay;
    }

    public void setPlanEndDay(Integer planEndDay) {
        this.planEndDay = planEndDay;
    }

    public Integer getPlanEndDay() {
        return planEndDay;
    }

    public void setPlanWindowDay(Integer planWindowDay) {
        this.planWindowDay = planWindowDay;
    }

    public Integer getPlanWindowDay() {
        return planWindowDay;
    }

    public void setPlanWarnDay(Integer planWarnDay) {
        this.planWarnDay = planWarnDay;
    }

    public Integer getPlanWarnDay() {
        return planWarnDay;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNextNodeId(String nextNodeId) {
        this.nextNodeId = nextNodeId;
    }

    public String getNextNodeId() {
        return nextNodeId;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }

    public void setCreateAuthor(String createAuthor) {
        this.createAuthor = createAuthor;
    }

    public String getCreateAuthor() {
        return createAuthor;
    }

    public void setUpdateAuthor(String updateAuthor) {
        this.updateAuthor = updateAuthor;
    }

    public String getUpdateAuthor() {
        return updateAuthor;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getPriorityValue() {
        return priorityValue;
    }

    public void setPriorityValue(String priorityValue) {
        this.priorityValue = priorityValue;
    }
}
